#include"mysql.h"
Mysql_Custom::Mysql_Custom(string DBhost,string User,string Password):_dirver(nullptr),_conn(nullptr),_stmt(nullptr),_res(nullptr)
{
this->_dirver=get_driver_instance();
this->_conn=this->_dirver->connect(DBhost,User,Password);
}
bool Mysql_Custom::Write_Operation(string SQL_string)
{
if(this->_stmt==nullptr)
this->_stmt=this->_conn->createStatement();
return this->_stmt->execute(SQL_string);
}
